Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(catalog/rest): Ensure token been reused correctly #801

Merged
merged 5 commits into from
Dec 14, 2024

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Dec 14, 2024

Fix #791

I discovered that we were not reusing tokens correctly, which could result in sending an unexpectedly high number of token authentication requests. This PR addresses the issue by implementing update_with for our HTTP client.

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Xuanwo for fixing this!

@liurenjie1024 liurenjie1024 merged commit 54926a2 into main Dec 14, 2024
16 checks passed
@liurenjie1024 liurenjie1024 deleted the fix-rest-catalog-request-limit branch December 14, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Encountering 429 Too Many Requests error every time when accessing Snowflake's Polaris catalog
2 participants